Skip to content

Conversation

joeloff
Copy link
Member

@joeloff joeloff commented Oct 6, 2025

Description

This is a regression from migrating to WiX v5. Using the new ProgramFiles6432Folder variable causes non-native installations to always write the SWID tag to CSIDL_PROGRAM_FILES. When installing the x86 SDK on 64-bit Windows, the tag ends up under Program Files instead of Program Files (x86).

Testing

Manual test

@joeloff joeloff requested a review from a team October 6, 2025 20:28
@joeloff joeloff added this to the 10.0.1xx milestone Oct 6, 2025
<?if $(TargetArchitecture)~=x86?>
<SoftwareTag Regid="microsoft.com" InstallPath="[ProgramFilesFolder]dotnet" />
<?else?>
<SoftwareTag Regid="microsoft.com" InstallPath="[ProgramFiles64Folder]dotnet]" />
Copy link
Member

@merriemcgaw merriemcgaw Oct 6, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do you need the extra ] after dotnet the end of the line here?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for catching that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants